package com.thinkingstar.iads.projectcenter.entity;

import java.io.Serializable;
import java.util.Map;

import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.ColType;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Table;

import com.thinkingstar.iads.common.entity.AbstractEntites;
import com.thinkingstar.iads.datacenter.entity.DcEquipmentEquip;
import com.thinkingstar.iads.datacenter.entity.DcEquipmentEquipInfo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/***
 * @ClassName: pc_equipment_equip
 * @Description: 项目中心_ 设备_设备配备
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Comment("项目中心_设备_设备配备")
@Table("pc_equipment_equip")
public class PcProjectEquipmentEquip extends AbstractEntites implements Serializable{
	
	@Comment("项目ID")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 32)
	private String project_id;
	
	@Comment("设备配备code")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	private String equipment_equip_code;
	
	@Comment("设备配备name")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 100)
	private String equipment_equip_name;
	
	public PcProjectEquipmentEquip(Map <String , Object> param , String project_id){
		this.equipment_equip_code = (String) param.get("equipment_equip_code");
		this.equipment_equip_name = (String) param.get("equipment_equip_name");
		this.project_id = project_id;
	}
	
}
